<!DOCTYPE html>
<html>
  <head>
    <title>请登录</title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
    <link rel='stylesheet' href='/lib/bootstarp/dist/css/bootstrap.min.css' />
  </head>
  <body>
  		
   		<div class="contianer-fluid" >
			<div class="row">
				<div class="col-md-7 col-md-offset-3 well " id="container_box">
					
					<div class="col-md-7 col-md-offset-5" >
							<h2 class="login_title">账号登录</h2>
							<div class="alert alert-danger error" >用户名或密码错误</div>
							<form name="loginForm" method="post" action="./users/login">
								<div class="input-group">
									<div class="input-group-addon">
										<i class="glyphicon glyphicon-user"></i>
									</div>
									<input type="text" class="form-control" placeholder="用户名" name="username" required ng-model="user.username">
								</div>
								<div class="input-group login_password">
									<div class="input-group-addon bg_fff">
										<i class="glyphicon glyphicon-lock"></i>
									</div>
									<input type="password" class="form-control" placeholder="登录密码" name="password" required ng-model="user.password">
								</div>
								<div class="checkbox">
									<label>
				     					 <input type="checkbox" name="remeber" ng-model="remeber"> 记住用户名
				  					  </label>
				  					  <label>
				  					  		<a href="/register" class="btn_register">注册</a>
				  					  </label>
								</div>
								<input type="submit" name="submit" value="登录" class="btn btn-success btn-block"  ng-click="login()" >
							</form>
					</div>
				</div>
			</div>	
		</div>
		

  </body>	

</html>
